package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyuan.open.scanner.domain.address.Address;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-09-23
 */
@Data
@TableName("TMS_MSymbol")
@ApiModel(value = "SymbolDO对象", description = "")
public class SymbolDO implements Serializable {


    private static final long serialVersionUID = 8306527539176545191L;
    @ApiModelProperty("公司ID")
    private Long symbolCompanyid;

    @ApiModelProperty("标记类型 1客户标记 2承运方标记")
    private Long symbolType;

    @ApiModelProperty("编号")
    private String symbolCode;

    @ApiModelProperty("名字")
    private String symbolName;

    @ApiModelProperty("创建人")
    private Long symbolCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime symbolInserttime;

    @ApiModelProperty("修改人")
    private Long symbolUpdater;

    @ApiModelProperty("修改时间")
    private LocalDateTime symbolUpdatetime;

    @ApiModelProperty("是否有效 0有效 1失效")
    private Integer symbolInvalid;

    @ApiModelProperty("备注")
    private String symbolComments;

    @ApiModelProperty("电话号码")
    private String symbolTel;

    @ApiModelProperty("联系人")
    private String symbolContact;

    @ApiModelProperty("热度")
    private Long symbolHeat;

    @TableId(value = "Symbol_ID", type = IdType.AUTO)
    private Long symbolId;


    @ApiModelProperty(value = "站点地址信息")
    @TableField(exist = false)
    private List<Address> stationList;
    @TableField(exist = false)
    private Integer type;
    @TableField(exist = false)
    private Integer autoBalance;
    @TableField(exist = false)
    private Integer personal;

    @TableField(exist = false)
    private String raw;
}
